<html>
	{% include "../common_head.html" %}
	<body>
	{% include "../common_menus.html" %}
	<div id="content">
	
		<div id="rakontu_form_style" class="rakontu_form">
		<form action="/{{dir_manage}}/{{url_export}}?{{rakontu.urlQuery}}" method="post" enctype="multipart/form-data">
		
		<h3>{{template_export_to_xml}}</b> {{"exporting_data_to_xml"|info}} </h3>
		<fieldset>
		<p>{{template_what_to_export}}
		<select name="exportWhatToXML">
			{% for i in choices|makeRangeFromListLength %}
				<option value="{{choices|listLookup:i}}">{{display_choices|listLookup:i}}</option>
			{% endfor %}
			</select>
		</p>
		</fieldset>
		<p><center><input type="submit" name="xml_export" value="{{button_export_xml}}" class="button"></center></p>
		
		{% if csv_choices %}
			<h3>{{template_export_entries_with_answers}}</b> {{"exporting_entries_with_answers_to_CSV"|info}} </h3>
			<fieldset>
			{{template_what_to_export}}
			<select name="exportWhatToCSV">
				{% for i in csv_choices|makeRangeFromListLength %}
					<option value="{{csv_choices|listLookup:i}}">{{display_csv_choices|listLookup:i}}</option>
				{% endfor %}
				</select>
			</fieldset>
			<p><center><input type="submit" name="csv_export" value="{{button_export_csv}}" class="button"></center></p>
		{% endif %}
		
      	<p>
	</form>
	</div>
	
	</div>
	{% include "../common_footer.html" %}
	</body>
</html>
